package org.elanfox.intellicommunity.msg.base;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.elanfox.intellicommunity.msg.ienum.CmdEnums;

import java.io.Serializable;

/**
 * @author allan
 * @version 1.0.0
 * @date 2020/3/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CmdStatus implements Serializable {
    private static final long serialVersionUID = 1155786993968880275L;

    private CmdEnums.Status status;
    private String msg;

    public CmdStatus(CmdEnums.Status status) {
        this.status = status;
    }
}
